package com.tarim.wheat.model;

import java.util.Collection;
import java.util.Date;
import java.util.List;

public class Type {
    private Long id;

    private String typeName;

    private Integer dr;

    private Date createTime;

    private Date modifyTime;

    Collection<Information> informationList;

    public Type(Long id, String typeName, Integer dr, Date createTime, Date modifyTime) {
        this.id = id;
        this.typeName = typeName;
        this.dr = dr;
        this.createTime = createTime;
        this.modifyTime = modifyTime;
    }

    public Type() {
        super();
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getTypeName() {
        return typeName;
    }

    public void setTypeName(String typeName) {
        this.typeName = typeName == null ? null : typeName.trim();
    }

    public Integer getDr() {
        return dr;
    }

    public void setDr(Integer dr) {
        this.dr = dr;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getModifyTime() {
        return modifyTime;
    }

    public void setModifyTime(Date modifyTime) {
        this.modifyTime = modifyTime;
    }

    public Collection<Information> getInformationList() {
        return informationList;
    }

    public void setInformationList(Collection<Information> informationList) {
        this.informationList = informationList;
    }
}